using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_WebSite : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlInt32		_webSite_Rating;
			private SqlString		_webSite_Address, _webSite_Name;
			private SqlGuid			_webSite_ID;
		#endregion


		#region Class Property Declarations
		public SqlGuid WebSite_ID
		{
			get
			{
				return _webSite_ID;
			}
			set
			{
				_webSite_ID = value;
			}
		}


		public SqlString WebSite_Name
		{
			get
			{
				return _webSite_Name;
			}
			set
			{
				SqlString webSite_NameTmp = (SqlString)value;
				if(webSite_NameTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("WebSite_Name", "WebSite_Name can't be NULL");
				}
				_webSite_Name = value;
			}
		}


		public SqlString WebSite_Address
		{
			get
			{
				return _webSite_Address;
			}
			set
			{
				SqlString webSite_AddressTmp = (SqlString)value;
				if(webSite_AddressTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("WebSite_Address", "WebSite_Address can't be NULL");
				}
				_webSite_Address = value;
			}
		}


		public SqlInt32 WebSite_Rating
		{
			get
			{
				return _webSite_Rating;
			}
			set
			{
				_webSite_Rating = value;
			}
		}
		#endregion
	}
}
